package edu.hdu.android.sudoku;

import android.annotation.SuppressLint;
import android.app.Application;
import android.content.Context;
import android.media.MediaPlayer;



public class MyApplication extends Application {

    private static final String TAG = "MyApplication";
    @SuppressLint("StaticFieldLeak")
    private static Context context;
    public static MediaPlayer mPlayer = null;
    public static boolean isRelease = true;
    public static int difficulty = 0;
    public static int[] sudoku;
    public static int flag = 0;//非载入游戏

    @Override
    public void onCreate() {
        super.onCreate();
        context = getApplicationContext();
    }

    public static Context getContext() {
        return context;
    }

}
